using System.Linq;

namespace AspNetCoreMVC.IRepository
{
    public interface IRepository<T>
    {
        IQueryable<T> table{get;}
        T GetByid(int id);
        public void Delete(int id);
        public void Insert(T entity);
        public void Update(T entity);
        
    }
}